package com.example.bean;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;


@Getter
@Setter
@NoArgsConstructor
@Entity
@Table(name = "sys_dict")
@Inheritance(strategy = InheritanceType.JOINED)
@EqualsAndHashCode
public class SysDict extends BaseEntity {

    /**
     *字典KEY
     */
    private String dictKey;
    /**
     *字典CODE
     */
  //  private String dictCode;
    /**
     *字典VALUE
     */
    private String dictValue;
    /**
     *父ID
     */
    private Long parentId;

}
